Optimal. Leaf size=22 \[ \frac {1}{2} \sinh ^{-1}(\tan (x))+\frac {1}{2} \sqrt {\sec ^2(x)} \tan (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {4207, 201, 221}
\begin {gather*} \frac {1}{2} \tan (x) \sqrt {\sec ^2(x)}+\frac {1}{2} \sinh ^{-1}(\tan (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 201
Rule 221
Rule 4207
Rubi steps
\begin {align*} \int \sec ^2(x)^{3/2} \, dx &=\text {Subst}\left (\int \sqrt {1+x^2} \, dx,x,\tan (x)\right )\\ &=\frac {1}{2} \sqrt {\sec ^2(x)} \tan (x)+\frac {1}{2} \text {Subst}\left (\int \frac {1}{\sqrt {1+x^2}} \, dx,x,\tan (x)\right )\\ &=\frac {1}{2} \sinh ^{-1}(\tan (x))+\frac {1}{2} \sqrt {\sec ^2(x)} \tan (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(52\) vs. \(2(22)=44\).
time = 0.07, size = 52, normalized size = 2.36 \begin {gather*} \frac {1}{2} \cos (x) \sqrt {\sec ^2(x)} \left (-\log \left (\cos \left (\frac {x}{2}\right )-\sin \left (\frac {x}{2}\right )\right )+\log \left (\cos \left (\frac {x}{2}\right )+\sin \left (\frac {x}{2}\right )\right )+\sec (x) \tan (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(54\) vs.
\(2(16)=32\).
time = 0.20, size = 55, normalized size = 2.50
method | result | size |
default | \(-\frac {\left (\left (\cos ^{2}\left (x \right )\right ) \ln \left (-\frac {\cos \left (x \right )-1+\sin \left (x \right )}{\sin \left (x \right )}\right )-\left (\cos ^{2}\left (x \right )\right ) \ln \left (-\frac {\cos \left (x \right )-1-\sin \left (x \right )}{\sin \left (x \right )}\right )-\sin \left (x \right )\right ) \cos \left (x \right ) \sqrt {2}\, \sqrt {\frac {1}{\cos \left (2 x \right )+1}}}{\cos \left (2 x \right )+1}\) | \(55\) |
risch | \(-\frac {i \sqrt {\frac {{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}}\, \left ({\mathrm e}^{2 i x}-1\right )}{{\mathrm e}^{2 i x}+1}-\sqrt {\frac {{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}}\, \ln \left ({\mathrm e}^{i x}-i\right ) \cos \left (x \right )+\sqrt {\frac {{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}+1\right )^{2}}}\, \ln \left ({\mathrm e}^{i x}+i\right ) \cos \left (x \right )\) | \(97\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 18, normalized size = 0.82 \begin {gather*} \frac {1}{2} \, \sqrt {\tan \left (x\right )^{2} + 1} \tan \left (x\right ) + \frac {1}{2} \, \operatorname {arsinh}\left (\tan \left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 34 vs.
\(2 (16) = 32\).
time = 2.74, size = 34, normalized size = 1.55 \begin {gather*} -\frac {\cos \left (x\right )^{2} \log \left (\sin \left (x\right ) + 1\right ) - \cos \left (x\right )^{2} \log \left (-\sin \left (x\right ) + 1\right ) + 2 \, \sin \left (x\right )}{4 \, \cos \left (x\right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (\sec ^{2}{\left (x \right )}\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 44 vs.
\(2 (16) = 32\).
time = 0.43, size = 44, normalized size = 2.00 \begin {gather*} \frac {\log \left (\sin \left (x\right ) + 1\right )}{4 \, \mathrm {sgn}\left (\cos \left (x\right )\right )} - \frac {\log \left (-\sin \left (x\right ) + 1\right )}{4 \, \mathrm {sgn}\left (\cos \left (x\right )\right )} - \frac {\sin \left (x\right )}{2 \, {\left (\sin \left (x\right )^{2} - 1\right )} \mathrm {sgn}\left (\cos \left (x\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.05 \begin {gather*} \int {\left (\frac {1}{{\cos \left (x\right )}^2}\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________